package com.czxy.demo04;

/**
 * Created by hp on 2020/1/31.
 */
public class Audi extends Car {
    public Audi(String brand, String color, double price) {
        super(brand, color, price);
    }

    @Override
    public String toString() {
        return "Audi{" +
                "brand='" + brand + '\'' +
                ", color='" + color + '\'' +
                ", price=" + price +
                '}';
    }

    public Audi() {

    }

    @Override

    void driver() {
        System.out.println("奥迪驾驶");
    }
}
